using System.Collections;


namespace ctsu.BaseForms
{
	public class FormInfoBase
	{
		private int _id;
		private int _dept;
		private int _image;
		private string _name;
		private bool _useFormBase;
		private bool _hasCarry;
		private string _formClassName;
		private string _controllerClassName;
		private string _businessLogicClassName;
		private string _tableName;
		private string _description;
		private string _lookups;
		private string _uniqueField = "";
		private Hashtable _searchFormInfo;
		private Hashtable _searchResultInfo;
		private Hashtable _specialLookups;
		private Hashtable _gridMeta;
		private MenuItemEx _menuItem;
		private BarItemEx _barItem;
		private GroupViewItemEx _groupViewItem;

		public FormInfoBase()
		{
		}

		public FormInfoBase(int id, int dept, int image, string description, string formClassName, string controllerClassName, string businessLogicClassName, string name, string tableName, string lookups, bool useFormBase, string uniqueField, bool hasCarry)
		{
			this._id = id;
			this._dept = dept;
			this._image = image;
			this._description = description;
			this._formClassName = formClassName;
			this._controllerClassName = controllerClassName;
			this._businessLogicClassName = businessLogicClassName;
			this._name = name;
			this._tableName = tableName;
			this._lookups = lookups;
			this._useFormBase = useFormBase;
			this._uniqueField = uniqueField;
			this._hasCarry = hasCarry;
		}

		public int ID
		{
			get { return _id; }
			set { _id = value; }
		}

		public int Department
		{
			get { return _dept; }
			set { _dept = value; }
		}

		public int ImageIndex
		{
			get { return _image; }
			set { _image = value; }
		}

		public string Name
		{
			get { return _name; }
			set { _name = value; }
		}

		public bool UseFormBase
		{
			get { return _useFormBase; }
			set { _useFormBase = value; }
		}

		public bool HasCarry
		{
			get { return _hasCarry; }
			set { _hasCarry = value; }
		}

		public string ClassName
		{
			get { return _formClassName; }
			set { _formClassName = value; }
		}

		public string ControllerClassName
		{
			get { return _controllerClassName; }
			set { _controllerClassName = value; }
		}

		public string BusinessLogicClassName
		{
			get { return _businessLogicClassName; }
			set { _businessLogicClassName = value; }
		}

		public string TableName
		{
			get { return _tableName; }
			set { _tableName = value; }
		}

		public string UniqueField
		{
			get { return _uniqueField; }
			set { _uniqueField = value; }
		}

		public string Description
		{
			get { return _description; }
			set { _description = value; }
		}

		public string Lookups
		{
			get { return _lookups; }
			set { _lookups = value; }
		}

		public Hashtable SearchFormInfo
		{
			get { return _searchFormInfo; }
			set { _searchFormInfo = value; }
		}

		public Hashtable SearchResultInfo
		{
			get { return _searchResultInfo; }
			set { _searchResultInfo = value; }
		}

		public Hashtable SpecialLookups
		{
			get { return _specialLookups; }
			set { _specialLookups = value; }
		}

		public Hashtable GridMeta
		{
			get { return _gridMeta; }
			set { _gridMeta = value; }
		}

		public MenuItemEx MenuItm
		{
			get { return _menuItem; }
			set { _menuItem = value; }
		}

		public BarItemEx BarItm
		{
			get { return _barItem; }
			set { _barItem = value; }
		}

		public GroupViewItemEx GroupViewItm
		{
			get { return _groupViewItem; }
			set { _groupViewItem = value; }
		}
	}
}
